with open(r'C:\python3\ru\learnbasic\ru.txt','a') as f:
    a={'name':2,'dodo':3}
    f.write(a)
